class MenuItem{
	def hasMany = [children:MenuItem]

 	String name
	Integer patherId
  URL url
	String description

	static constraints = {
						id()
						patherId()
            url()
            name()
						description()
  }

	String toString(){
		return "$id - $name"
	}

}

